{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mjoshi2\Box\2020 Research\Peacekeeping\IP R&R\Edits\RR2\RR2Final\Data\log file.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}28 Jul 2020, 12:15:33

{com}. do "C:\Users\mjoshi2\AppData\Local\Temp\STD3cf8_000000.tmp"
{txt}
{com}. //Unit root test
.  xtunitroot fisher  lnmaxUN_troops if year>1989 & cow!=347  & sample1==1, dfuller lags(0) drift

{txt}Fisher-type unit-root test for {res}lnmaxUN_troops
{txt}Based on augmented Dickey-Fuller tests
{hline 45}
Ho: All panels contain unit roots{col 45}Number of panels{col 68}={col 69}{res}    148
{txt}Ha: At least one panel is stationary{col 45}Avg. number of periods{col 68}={col 69}{res}  22.00

{txt}AR parameter:{res}{col 15}Panel-specific{txt}{col 45}Asymptotics: {res}T -> Infinity
{txt}Panel means:{res}{col 15}Included
{txt}Time trend:{res}{col 15}Not included
{txt}Drift term:{res}{col 15}Included{txt}{col 45}ADF regressions: {res}0{txt} lags
{hline 78}
{col 35}Statistic{col 50}p-value
{hline 78}
{col 2}Inverse chi-squared({res}234{txt}){col 28}P{res}{col 35} 815.6166{col 51}0.0000
{txt}{col 2}Inverse normal{col 28}Z{res}{col 35} -17.5645{col 51}0.0000
{txt}{col 2}Inverse logit t({res}589{txt}){col 28}L*{res}{col 35} -19.4872{col 51}0.0000
{txt}{col 2}Modified inv. chi-squared{col 28}Pm{res}{col 35}  26.8852{col 51}0.0000
{txt}{hline 78}
{col 2}P statistic requires number of panels to be finite.
{col 2}Other statistics are suitable for finite or infinite number of panels.
{hline 78}

{com}.  xtunitroot fisher  max_troops if year>1989 & cow!=347 & sample1==1, dfuller lags(0) drift
{txt}(7,987 missing values generated)

Fisher-type unit-root test for {res}max_troops
{txt}Based on augmented Dickey-Fuller tests
{hline 41}
Ho: All panels contain unit roots{col 45}Number of panels{col 68}={col 69}{res}    147
{txt}Ha: At least one panel is stationary{col 45}Avg. number of periods{col 68}={col 69}{res}  22.02

{txt}AR parameter:{res}{col 15}Panel-specific{txt}{col 45}Asymptotics: {res}T -> Infinity
{txt}Panel means:{res}{col 15}Included
{txt}Time trend:{res}{col 15}Not included
{txt}Drift term:{res}{col 15}Included{txt}{col 45}ADF regressions: {res}0{txt} lags
{hline 78}
{col 35}Statistic{col 50}p-value
{hline 78}
{col 2}Inverse chi-squared({res}238{txt}){col 28}P{res}{col 35} 743.7815{col 51}0.0000
{txt}{col 2}Inverse normal{col 28}Z{res}{col 35} -15.1262{col 51}0.0000
{txt}{col 2}Inverse logit t({res}599{txt}){col 28}L*{res}{col 35} -16.4830{col 51}0.0000
{txt}{col 2}Modified inv. chi-squared{col 28}Pm{res}{col 35}  23.1825{col 51}0.0000
{txt}{hline 78}
{col 2}P statistic requires number of panels to be finite.
{col 2}Other statistics are suitable for finite or infinite number of panels.
{hline 78}

{com}.  xtunitroot fisher  ln_max_total_peacekeeper if year>1989 & cow!=347 & sample1==1, dfuller lags(0) drift

{txt}Fisher-type unit-root test for {res}ln_max_total_peacekeeper
{txt}Based on augmented Dickey-Fuller tests
{hline 55}
Ho: All panels contain unit roots{col 45}Number of panels{col 68}={col 69}{res}    148
{txt}Ha: At least one panel is stationary{col 45}Avg. number of periods{col 68}={col 69}{res}  22.00

{txt}AR parameter:{res}{col 15}Panel-specific{txt}{col 45}Asymptotics: {res}T -> Infinity
{txt}Panel means:{res}{col 15}Included
{txt}Time trend:{res}{col 15}Not included
{txt}Drift term:{res}{col 15}Included{txt}{col 45}ADF regressions: {res}0{txt} lags
{hline 78}
{col 35}Statistic{col 50}p-value
{hline 78}
{col 2}Inverse chi-squared({res}260{txt}){col 28}P{res}{col 35}1063.6994{col 51}0.0000
{txt}{col 2}Inverse normal{col 28}Z{res}{col 35} -21.1108{col 51}0.0000
{txt}{col 2}Inverse logit t({res}654{txt}){col 28}L*{res}{col 35} -24.5797{col 51}0.0000
{txt}{col 2}Modified inv. chi-squared{col 28}Pm{res}{col 35}  35.2446{col 51}0.0000
{txt}{hline 78}
{col 2}P statistic requires number of panels to be finite.
{col 2}Other statistics are suitable for finite or infinite number of panels.
{hline 78}

{com}. xtunitroot fisher max_total_peacekeeper if year>1989 & cow!=347 & sample1==1, dfuller lags(0) drift
{txt}(7,987 missing values generated)

Fisher-type unit-root test for {res}max_total_peacekeeper
{txt}Based on augmented Dickey-Fuller tests
{hline 52}
Ho: All panels contain unit roots{col 45}Number of panels{col 68}={col 69}{res}    147
{txt}Ha: At least one panel is stationary{col 45}Avg. number of periods{col 68}={col 69}{res}  22.02

{txt}AR parameter:{res}{col 15}Panel-specific{txt}{col 45}Asymptotics: {res}T -> Infinity
{txt}Panel means:{res}{col 15}Included
{txt}Time trend:{res}{col 15}Not included
{txt}Drift term:{res}{col 15}Included{txt}{col 45}ADF regressions: {res}0{txt} lags
{hline 78}
{col 35}Statistic{col 50}p-value
{hline 78}
{col 2}Inverse chi-squared({res}260{txt}){col 28}P{res}{col 35} 814.5786{col 51}0.0000
{txt}{col 2}Inverse normal{col 28}Z{res}{col 35} -15.6030{col 51}0.0000
{txt}{col 2}Inverse logit t({res}654{txt}){col 28}L*{res}{col 35} -16.5277{col 51}0.0000
{txt}{col 2}Modified inv. chi-squared{col 28}Pm{res}{col 35}  24.3199{col 51}0.0000
{txt}{hline 78}
{col 2}P statistic requires number of panels to be finite.
{col 2}Other statistics are suitable for finite or infinite number of panels.
{hline 78}

{com}. xtunitroot fisher troop_dummy if year>1989 & cow!=347 & sample1==1, dfuller lags(0) drift 

{txt}Fisher-type unit-root test for {res}troop_dummy
{txt}Based on augmented Dickey-Fuller tests
{hline 42}
Ho: All panels contain unit roots{col 45}Number of panels{col 68}={col 69}{res}    148
{txt}Ha: At least one panel is stationary{col 45}Avg. number of periods{col 68}={col 69}{res}  22.00

{txt}AR parameter:{res}{col 15}Panel-specific{txt}{col 45}Asymptotics: {res}T -> Infinity
{txt}Panel means:{res}{col 15}Included
{txt}Time trend:{res}{col 15}Not included
{txt}Drift term:{res}{col 15}Included{txt}{col 45}ADF regressions: {res}0{txt} lags
{hline 78}
{col 35}Statistic{col 50}p-value
{hline 78}
{col 2}Inverse chi-squared({res}184{txt}){col 28}P{res}{col 35} 880.7666{col 51}0.0000
{txt}{col 2}Inverse normal{col 28}Z{res}{col 35} -20.7464{col 51}0.0000
{txt}{col 2}Inverse logit t({res}464{txt}){col 28}L*{res}{col 35} -24.8530{col 51}0.0000
{txt}{col 2}Modified inv. chi-squared{col 28}Pm{res}{col 35}  36.3215{col 51}0.0000
{txt}{hline 78}
{col 2}P statistic requires number of panels to be finite.
{col 2}Other statistics are suitable for finite or infinite number of panels.
{hline 78}

{com}.  //Table 2
.  //Model 1
. xtreg  lnmaxUN_troops  L.KOFPoGIdj L.vdem_liberal L.wdi_expmil L.wdi_afpt L.wdi_gdpgr ///
>   L.wdi_trade L.wdi_gdpcappppcur L.ucdp_type3_4 L.ucdp_type2_new peacekeeinglast10_y_n ///
>   if year>1989 & sample1==1, fe cluster(cow)  
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     3,256
{txt}Group variable: {res}cow{txt}{col 49}Number of groups{col 67}={col 69}{res}       148

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0882{col 63}{txt}min{col 67}={col 69}{res}         4
{txt}     between = {res}0.1113{col 63}{txt}avg{col 67}={col 69}{res}      22.0
{txt}     overall = {res}0.0933{col 63}{txt}max{col 67}={col 69}{res}        26

{txt}{col 49}F({res}10{txt},{res}147{txt}){col 67}={col 70}{res}     5.60
{txt}corr(u_i, Xb){col 16}= {res}-0.1286{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 87:(Std. Err. adjusted for {res:148} clusters in cow)}
{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}       lnmaxUN_troops{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}KOFPoGIdj {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}  .055953{col 35}{space 2} .0109055{col 46}{space 1}    5.13{col 55}{space 3}0.000{col 63}{space 4} .0344012{col 76}{space 3} .0775048
{txt}{space 21} {c |}
{space 9}vdem_liberal {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} 2.124548{col 35}{space 2} 1.051557{col 46}{space 1}    2.02{col 55}{space 3}0.045{col 63}{space 4} .0464256{col 76}{space 3} 4.202671
{txt}{space 21} {c |}
{space 11}wdi_expmil {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0126136{col 35}{space 2} .0235155{col 46}{space 1}   -0.54{col 55}{space 3}0.592{col 63}{space 4}-.0590858{col 76}{space 3} .0338586
{txt}{space 21} {c |}
{space 13}wdi_afpt {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-1.15e-06{col 35}{space 2} 1.06e-06{col 46}{space 1}   -1.08{col 55}{space 3}0.280{col 63}{space 4}-3.25e-06{col 76}{space 3} 9.50e-07
{txt}{space 21} {c |}
{space 12}wdi_gdpgr {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0027999{col 35}{space 2} .0079168{col 46}{space 1}   -0.35{col 55}{space 3}0.724{col 63}{space 4}-.0184452{col 76}{space 3} .0128455
{txt}{space 21} {c |}
{space 12}wdi_trade {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0025866{col 35}{space 2}  .003357{col 46}{space 1}    0.77{col 55}{space 3}0.442{col 63}{space 4}-.0040476{col 76}{space 3} .0092209
{txt}{space 21} {c |}
{space 5}wdi_gdpcappppcur {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0000586{col 35}{space 2}  .000014{col 46}{space 1}   -4.18{col 55}{space 3}0.000{col 63}{space 4}-.0000863{col 76}{space 3}-.0000309
{txt}{space 21} {c |}
{space 9}ucdp_type3_4 {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.2726506{col 35}{space 2} .1337363{col 46}{space 1}   -2.04{col 55}{space 3}0.043{col 63}{space 4}-.5369446{col 76}{space 3}-.0083566
{txt}{space 21} {c |}
{space 7}ucdp_type2_new {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.5040152{col 35}{space 2} .4349559{col 46}{space 1}   -1.16{col 55}{space 3}0.248{col 63}{space 4} -1.36359{col 76}{space 3} .3555592
{txt}{space 21} {c |}
peacekeeinglast10_y_n {c |}{col 23}{res}{space 2} .3852614{col 35}{space 2} .4815011{col 46}{space 1}    0.80{col 55}{space 3}0.425{col 63}{space 4}-.5662971{col 76}{space 3}  1.33682
{txt}{space 16}_cons {c |}{col 23}{res}{space 2} -1.66853{col 35}{space 2}  .857404{col 46}{space 1}   -1.95{col 55}{space 3}0.054{col 63}{space 4} -3.36296{col 76}{space 3} .0259003
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
              sigma_u {c |} {res} 2.3574506
              {txt}sigma_e {c |} {res} 1.8636785
                  {txt}rho {c |} {res} .61539728{txt}   (fraction of variance due to u_i)
{hline 22}{c BT}{hline 64}

{com}. vif, uncentered

{txt}    Variable {c |}       VIF       1/VIF  
{hline 13}{c +}{hline 22}
{space 3}KOFPoGIdj {c |}
{space 9}L1. {c |} {res}    14.30    0.069908
{txt}vdem_liberal {c |}
{space 9}L1. {c |} {res}    11.13    0.089818
{txt}{space 3}wdi_trade {c |}
{space 9}L1. {c |} {res}     3.87    0.258625
{txt}wdi_gdpcap~r {c |}
{space 9}L1. {c |} {res}     2.29    0.435812
{txt}{space 2}wdi_expmil {c |}
{space 9}L1. {c |} {res}     1.60    0.623954
{txt}{space 3}wdi_gdpgr {c |}
{space 9}L1. {c |} {res}     1.55    0.645474
{txt}{space 4}wdi_afpt {c |}
{space 9}L1. {c |} {res}     1.42    0.703896
{txt}ucdp_type3_4 {c |}
{space 9}L1. {c |} {res}     1.33    0.754430
{txt}ucdp_type2~w {c |}
{space 9}L1. {c |} {res}     1.08    0.922028
{txt}peacekeein~n {c |} {res}     1.04    0.960390
{txt}{hline 13}{c +}{hline 22}
    Mean VIF {c |} {res}     3.96
{txt}
{com}. estat ic

Akaike's information criterion and Bayesian information criterion

{txt}{hline 13}{c TT}{hline 63}
       Model {c |}        Obs  ll(null)  ll(model)      df         AIC        BIC
{hline 13}{c +}{hline 63}
{ralign 12:.}{col 14}{c |}{res}{col 16}     3,256{col 27}-6716.479{col 38}-6566.113{col 49}    10{col 58} 13152.23{col 69} 13213.11
{txt}{hline 13}{c BT}{hline 63}
{p 15 21 2}
Note: N=Obs used in calculating BIC; see {helpb bic_note:[R] BIC note}.
{p_end}

{com}. //Figure 3
. margins, at ( L.KOFPoGIdj=(0(5)100))
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     3,256
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 10}5}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}10}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}15}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:5._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}20}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:6._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}25}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:7._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}30}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:8._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}35}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:9._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}40}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:10._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}45}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:11._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}50}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:12._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}55}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:13._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}60}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:14._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}65}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:15._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}70}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:16._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}75}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:17._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}80}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:18._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}85}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:19._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}90}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:20._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}95}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:21._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 8}100}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2}-1.158734{col 26}{space 2} .7736149{col 37}{space 1}   -1.50{col 46}{space 3}0.134{col 54}{space 4}-2.674992{col 67}{space 3} .3575231
{txt}{space 10}2  {c |}{col 14}{res}{space 2}-.8789693{col 26}{space 2} .7190875{col 37}{space 1}   -1.22{col 46}{space 3}0.222{col 54}{space 4}-2.288355{col 67}{space 3} .5304164
{txt}{space 10}3  {c |}{col 14}{res}{space 2}-.5992043{col 26}{space 2} .6645601{col 37}{space 1}   -0.90{col 46}{space 3}0.367{col 54}{space 4}-1.901718{col 67}{space 3} .7033097
{txt}{space 10}4  {c |}{col 14}{res}{space 2}-.3194392{col 26}{space 2} .6100327{col 37}{space 1}   -0.52{col 46}{space 3}0.601{col 54}{space 4}-1.515081{col 67}{space 3}  .876203
{txt}{space 10}5  {c |}{col 14}{res}{space 2}-.0396742{col 26}{space 2} .5555054{col 37}{space 1}   -0.07{col 46}{space 3}0.943{col 54}{space 4}-1.128445{col 67}{space 3} 1.049096
{txt}{space 10}6  {c |}{col 14}{res}{space 2} .2400908{col 26}{space 2}  .500978{col 37}{space 1}    0.48{col 46}{space 3}0.632{col 54}{space 4}-.7418079{col 67}{space 3}  1.22199
{txt}{space 10}7  {c |}{col 14}{res}{space 2} .5198558{col 26}{space 2} .4464506{col 37}{space 1}    1.16{col 46}{space 3}0.244{col 54}{space 4}-.3551712{col 67}{space 3} 1.394883
{txt}{space 10}8  {c |}{col 14}{res}{space 2} .7996209{col 26}{space 2} .3919232{col 37}{space 1}    2.04{col 46}{space 3}0.041{col 54}{space 4} .0314656{col 67}{space 3} 1.567776
{txt}{space 10}9  {c |}{col 14}{res}{space 2} 1.079386{col 26}{space 2} .3373958{col 37}{space 1}    3.20{col 46}{space 3}0.001{col 54}{space 4} .4181023{col 67}{space 3} 1.740669
{txt}{space 9}10  {c |}{col 14}{res}{space 2} 1.359151{col 26}{space 2} .2828684{col 37}{space 1}    4.80{col 46}{space 3}0.000{col 54}{space 4} .8047391{col 67}{space 3} 1.913563
{txt}{space 9}11  {c |}{col 14}{res}{space 2} 1.638916{col 26}{space 2}  .228341{col 37}{space 1}    7.18{col 46}{space 3}0.000{col 54}{space 4} 1.191376{col 67}{space 3} 2.086456
{txt}{space 9}12  {c |}{col 14}{res}{space 2} 1.918681{col 26}{space 2} .1738136{col 37}{space 1}   11.04{col 46}{space 3}0.000{col 54}{space 4} 1.578013{col 67}{space 3} 2.259349
{txt}{space 9}13  {c |}{col 14}{res}{space 2} 2.198446{col 26}{space 2} .1192862{col 37}{space 1}   18.43{col 46}{space 3}0.000{col 54}{space 4} 1.964649{col 67}{space 3} 2.432243
{txt}{space 9}14  {c |}{col 14}{res}{space 2} 2.478211{col 26}{space 2} .0647588{col 37}{space 1}   38.27{col 46}{space 3}0.000{col 54}{space 4} 2.351286{col 67}{space 3} 2.605136
{txt}{space 9}15  {c |}{col 14}{res}{space 2} 2.757976{col 26}{space 2} .0102314{col 37}{space 1}  269.56{col 46}{space 3}0.000{col 54}{space 4} 2.737923{col 67}{space 3} 2.778029
{txt}{space 9}16  {c |}{col 14}{res}{space 2} 3.037741{col 26}{space 2}  .044296{col 37}{space 1}   68.58{col 46}{space 3}0.000{col 54}{space 4} 2.950923{col 67}{space 3}  3.12456
{txt}{space 9}17  {c |}{col 14}{res}{space 2} 3.317506{col 26}{space 2} .0988234{col 37}{space 1}   33.57{col 46}{space 3}0.000{col 54}{space 4} 3.123816{col 67}{space 3} 3.511196
{txt}{space 9}18  {c |}{col 14}{res}{space 2} 3.597271{col 26}{space 2} .1533508{col 37}{space 1}   23.46{col 46}{space 3}0.000{col 54}{space 4} 3.296709{col 67}{space 3} 3.897833
{txt}{space 9}19  {c |}{col 14}{res}{space 2} 3.877036{col 26}{space 2} .2078782{col 37}{space 1}   18.65{col 46}{space 3}0.000{col 54}{space 4} 3.469602{col 67}{space 3}  4.28447
{txt}{space 9}20  {c |}{col 14}{res}{space 2} 4.156801{col 26}{space 2} .2624056{col 37}{space 1}   15.84{col 46}{space 3}0.000{col 54}{space 4} 3.642496{col 67}{space 3} 4.671107
{txt}{space 9}21  {c |}{col 14}{res}{space 2} 4.436566{col 26}{space 2}  .316933{col 37}{space 1}   14.00{col 46}{space 3}0.000{col 54}{space 4} 3.815389{col 67}{space 3} 5.057743
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: L.KOFPoGIdj{p_end}
{res}{txt}
{com}. 
. //Model 2 foreign aid committment variable
. xtreg  lnmaxUN_troops  L.KOFPoGIdj L.vdem_liberal L.wdi_expmil L.wdi_afpt L.wdi_gdpgr ///
> L.wdi_trade L.wdi_gdpcappppcur  L.ucdp_type3_4 L.ucdp_type2_new L.lnaid_crsc peacekeeinglast10_y_n ///
> if year>1989 & sample==1, fe cluster(cow)
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     2,386
{txt}Group variable: {res}cow{txt}{col 49}Number of groups{col 67}={col 69}{res}       140

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1014{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0691{col 63}{txt}avg{col 67}={col 69}{res}      17.0
{txt}     overall = {res}0.0316{col 63}{txt}max{col 67}={col 69}{res}        24

{txt}{col 49}F({res}11{txt},{res}139{txt}){col 67}={col 70}{res}     4.84
{txt}corr(u_i, Xb){col 16}= {res}-0.2838{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 87:(Std. Err. adjusted for {res:140} clusters in cow)}
{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}       lnmaxUN_troops{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}KOFPoGIdj {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0405859{col 35}{space 2} .0125948{col 46}{space 1}    3.22{col 55}{space 3}0.002{col 63}{space 4} .0156838{col 76}{space 3}  .065488
{txt}{space 21} {c |}
{space 9}vdem_liberal {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} 2.550074{col 35}{space 2} .9775203{col 46}{space 1}    2.61{col 55}{space 3}0.010{col 63}{space 4}  .617343{col 76}{space 3} 4.482806
{txt}{space 21} {c |}
{space 11}wdi_expmil {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0095293{col 35}{space 2} .0199483{col 46}{space 1}   -0.48{col 55}{space 3}0.634{col 63}{space 4}-.0489706{col 76}{space 3} .0299119
{txt}{space 21} {c |}
{space 13}wdi_afpt {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-1.64e-06{col 35}{space 2} 9.46e-07{col 46}{space 1}   -1.74{col 55}{space 3}0.085{col 63}{space 4}-3.51e-06{col 76}{space 3} 2.29e-07
{txt}{space 21} {c |}
{space 12}wdi_gdpgr {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0005233{col 35}{space 2} .0078219{col 46}{space 1}   -0.07{col 55}{space 3}0.947{col 63}{space 4}-.0159886{col 76}{space 3} .0149419
{txt}{space 21} {c |}
{space 12}wdi_trade {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0034503{col 35}{space 2} .0033554{col 46}{space 1}    1.03{col 55}{space 3}0.306{col 63}{space 4}-.0031838{col 76}{space 3} .0100845
{txt}{space 21} {c |}
{space 5}wdi_gdpcappppcur {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0000211{col 35}{space 2} .0000314{col 46}{space 1}    0.67{col 55}{space 3}0.502{col 63}{space 4}-.0000409{col 76}{space 3} .0000831
{txt}{space 21} {c |}
{space 9}ucdp_type3_4 {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.2815711{col 35}{space 2} .1343082{col 46}{space 1}   -2.10{col 55}{space 3}0.038{col 63}{space 4}-.5471223{col 76}{space 3}-.0160198
{txt}{space 21} {c |}
{space 7}ucdp_type2_new {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} -1.11104{col 35}{space 2} .4603959{col 46}{space 1}   -2.41{col 55}{space 3}0.017{col 63}{space 4}-2.021324{col 76}{space 3}-.2007553
{txt}{space 21} {c |}
{space 11}lnaid_crsc {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0799938{col 35}{space 2}  .038003{col 46}{space 1}    2.10{col 55}{space 3}0.037{col 63}{space 4} .0048551{col 76}{space 3} .1551324
{txt}{space 21} {c |}
peacekeeinglast10_y_n {c |}{col 23}{res}{space 2} .1319086{col 35}{space 2} .3450843{col 46}{space 1}    0.38{col 55}{space 3}0.703{col 63}{space 4}-.5503843{col 76}{space 3} .8142015
{txt}{space 16}_cons {c |}{col 23}{res}{space 2}-3.222256{col 35}{space 2} 1.024562{col 46}{space 1}   -3.15{col 55}{space 3}0.002{col 63}{space 4}-5.247997{col 76}{space 3}-1.196515
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
              sigma_u {c |} {res} 2.5329723
              {txt}sigma_e {c |} {res} 1.8258936
                  {txt}rho {c |} {res} .65805708{txt}   (fraction of variance due to u_i)
{hline 22}{c BT}{hline 64}

{com}. 
. vif, uncentered

{txt}    Variable {c |}       VIF       1/VIF  
{hline 13}{c +}{hline 22}
{space 2}lnaid_crsc {c |}
{space 9}L1. {c |} {res}    26.42    0.037853
{txt}{space 3}KOFPoGIdj {c |}
{space 9}L1. {c |} {res}    22.27    0.044910
{txt}vdem_liberal {c |}
{space 9}L1. {c |} {res}     8.70    0.114950
{txt}{space 3}wdi_trade {c |}
{space 9}L1. {c |} {res}     4.67    0.214150
{txt}wdi_gdpcap~r {c |}
{space 9}L1. {c |} {res}     2.50    0.399713
{txt}{space 2}wdi_expmil {c |}
{space 9}L1. {c |} {res}     1.87    0.533588
{txt}{space 3}wdi_gdpgr {c |}
{space 9}L1. {c |} {res}     1.66    0.601693
{txt}{space 4}wdi_afpt {c |}
{space 9}L1. {c |} {res}     1.40    0.714821
{txt}ucdp_type3_4 {c |}
{space 9}L1. {c |} {res}     1.40    0.716609
{txt}ucdp_type2~w {c |}
{space 9}L1. {c |} {res}     1.10    0.912644
{txt}peacekeein~n {c |} {res}     1.04    0.960767
{txt}{hline 13}{c +}{hline 22}
    Mean VIF {c |} {res}     6.64
{txt}
{com}. estat ic

Akaike's information criterion and Bayesian information criterion

{txt}{hline 13}{c TT}{hline 63}
       Model {c |}        Obs  ll(null)  ll(model)      df         AIC        BIC
{hline 13}{c +}{hline 63}
{ralign 12:.}{col 14}{c |}{res}{col 16}     2,386{col 27}-4871.734{col 38} -4744.13{col 49}    11{col 58} 9510.261{col 69} 9573.812
{txt}{hline 13}{c BT}{hline 63}
{p 15 21 2}
Note: N=Obs used in calculating BIC; see {helpb bic_note:[R] BIC note}.
{p_end}

{com}. 
. //Model 3 with human rights practice
. xtreg  lnmaxUN_troops  L.KOFPoGIdj L.vdem_liberal L.wdi_expmil L.wdi_afpt L.wdi_gdpgr ///
> L.wdi_trade L.wdi_gdpcappppcur L.ucdp_type3_4 L.ucdp_type2_new peacekeeinglast10_y_n ///
> L.gd_ptsa L.lnaid_crsc if year>1989 & sample1==1, fe cluster(cow)
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     2,065
{txt}Group variable: {res}cow{txt}{col 49}Number of groups{col 67}={col 69}{res}       136

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1220{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0558{col 63}{txt}avg{col 67}={col 69}{res}      15.2
{txt}     overall = {res}0.0263{col 63}{txt}max{col 67}={col 69}{res}        23

{txt}{col 49}F({res}12{txt},{res}135{txt}){col 67}={col 70}{res}     4.93
{txt}corr(u_i, Xb){col 16}= {res}-0.3756{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 87:(Std. Err. adjusted for {res:136} clusters in cow)}
{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}       lnmaxUN_troops{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}KOFPoGIdj {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0418523{col 35}{space 2} .0128249{col 46}{space 1}    3.26{col 55}{space 3}0.001{col 63}{space 4} .0164886{col 76}{space 3}  .067216
{txt}{space 21} {c |}
{space 9}vdem_liberal {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} 2.596073{col 35}{space 2}  .983848{col 46}{space 1}    2.64{col 55}{space 3}0.009{col 63}{space 4} .6503246{col 76}{space 3} 4.541822
{txt}{space 21} {c |}
{space 11}wdi_expmil {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0048321{col 35}{space 2} .0160264{col 46}{space 1}   -0.30{col 55}{space 3}0.763{col 63}{space 4}-.0365273{col 76}{space 3} .0268631
{txt}{space 21} {c |}
{space 13}wdi_afpt {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-1.72e-06{col 35}{space 2} 8.67e-07{col 46}{space 1}   -1.99{col 55}{space 3}0.049{col 63}{space 4}-3.43e-06{col 76}{space 3}-6.86e-09
{txt}{space 21} {c |}
{space 12}wdi_gdpgr {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0050683{col 35}{space 2} .0082929{col 46}{space 1}   -0.61{col 55}{space 3}0.542{col 63}{space 4}-.0214692{col 76}{space 3} .0113326
{txt}{space 21} {c |}
{space 12}wdi_trade {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0050507{col 35}{space 2} .0035315{col 46}{space 1}    1.43{col 55}{space 3}0.155{col 63}{space 4}-.0019336{col 76}{space 3}  .012035
{txt}{space 21} {c |}
{space 5}wdi_gdpcappppcur {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0000322{col 35}{space 2} .0000312{col 46}{space 1}    1.03{col 55}{space 3}0.303{col 63}{space 4}-.0000294{col 76}{space 3} .0000938
{txt}{space 21} {c |}
{space 9}ucdp_type3_4 {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.2427991{col 35}{space 2}  .127273{col 46}{space 1}   -1.91{col 55}{space 3}0.059{col 63}{space 4} -.494506{col 76}{space 3} .0089079
{txt}{space 21} {c |}
{space 7}ucdp_type2_new {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-1.000236{col 35}{space 2} .5025057{col 46}{space 1}   -1.99{col 55}{space 3}0.049{col 63}{space 4}-1.994038{col 76}{space 3}-.0064349
{txt}{space 21} {c |}
peacekeeinglast10_y_n {c |}{col 23}{res}{space 2}-.1787195{col 35}{space 2} .2859984{col 46}{space 1}   -0.62{col 55}{space 3}0.533{col 63}{space 4}-.7443364{col 76}{space 3} .3868974
{txt}{space 21} {c |}
{space 14}gd_ptsa {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.2617052{col 35}{space 2} .1141397{col 46}{space 1}   -2.29{col 55}{space 3}0.023{col 63}{space 4}-.4874384{col 76}{space 3}-.0359721
{txt}{space 21} {c |}
{space 11}lnaid_crsc {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0850927{col 35}{space 2} .0397769{col 46}{space 1}    2.14{col 55}{space 3}0.034{col 63}{space 4} .0064262{col 76}{space 3} .1637592
{txt}{space 21} {c |}
{space 16}_cons {c |}{col 23}{res}{space 2}-2.748208{col 35}{space 2} 1.079398{col 46}{space 1}   -2.55{col 55}{space 3}0.012{col 63}{space 4}-4.882926{col 76}{space 3}-.6134899
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
              sigma_u {c |} {res} 2.6521903
              {txt}sigma_e {c |} {res} 1.8213937
                  {txt}rho {c |} {res}  .6795202{txt}   (fraction of variance due to u_i)
{hline 22}{c BT}{hline 64}

{com}. vif, uncentered

{txt}    Variable {c |}       VIF       1/VIF  
{hline 13}{c +}{hline 22}
{space 2}lnaid_crsc {c |}
{space 9}L1. {c |} {res}    39.72    0.025174
{txt}{space 3}KOFPoGIdj {c |}
{space 9}L1. {c |} {res}    23.92    0.041804
{txt}{space 5}gd_ptsa {c |}
{space 9}L1. {c |} {res}    13.30    0.075191
{txt}vdem_liberal {c |}
{space 9}L1. {c |} {res}     9.30    0.107517
{txt}{space 3}wdi_trade {c |}
{space 9}L1. {c |} {res}     4.46    0.224358
{txt}wdi_gdpcap~r {c |}
{space 9}L1. {c |} {res}     2.53    0.395233
{txt}{space 2}wdi_expmil {c |}
{space 9}L1. {c |} {res}     1.82    0.548528
{txt}{space 3}wdi_gdpgr {c |}
{space 9}L1. {c |} {res}     1.64    0.609974
{txt}ucdp_type3_4 {c |}
{space 9}L1. {c |} {res}     1.62    0.617060
{txt}{space 4}wdi_afpt {c |}
{space 9}L1. {c |} {res}     1.45    0.688838
{txt}ucdp_type2~w {c |}
{space 9}L1. {c |} {res}     1.10    0.906019
{txt}peacekeein~n {c |} {res}     1.05    0.951899
{txt}{hline 13}{c +}{hline 22}
    Mean VIF {c |} {res}     8.49
{txt}
{com}. estat ic

Akaike's information criterion and Bayesian information criterion

{txt}{hline 13}{c TT}{hline 63}
       Model {c |}        Obs  ll(null)  ll(model)      df         AIC        BIC
{hline 13}{c +}{hline 63}
{ralign 12:.}{col 14}{c |}{res}{col 16}     2,065{col 27}-4225.878{col 38}  -4091.5{col 49}    12{col 58} 8207.001{col 69} 8274.595
{txt}{hline 13}{c BT}{hline 63}
{p 15 21 2}
Note: N=Obs used in calculating BIC; see {helpb bic_note:[R] BIC note}.
{p_end}

{com}. 
. //Model 4 with demand for deployment
. xtreg  lnmaxUN_troops  L.fre_conflict L.KOFPoGIdj L.vdem_liberal L.wdi_expmil L.wdi_afpt ///
> L.wdi_gdpgr L.wdi_trade L.wdi_gdpcappppcur L.ucdp_type3_4 L.ucdp_type2_new peacekeeinglast10_y_n ///
> if year>1989 & sample1==1, fe cluster(cow)
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     3,256
{txt}Group variable: {res}cow{txt}{col 49}Number of groups{col 67}={col 69}{res}       148

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1041{col 63}{txt}min{col 67}={col 69}{res}         4
{txt}     between = {res}0.1606{col 63}{txt}avg{col 67}={col 69}{res}      22.0
{txt}     overall = {res}0.1318{col 63}{txt}max{col 67}={col 69}{res}        26

{txt}{col 49}F({res}11{txt},{res}147{txt}){col 67}={col 70}{res}     6.46
{txt}corr(u_i, Xb){col 16}= {res}-0.1119{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 87:(Std. Err. adjusted for {res:148} clusters in cow)}
{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}       lnmaxUN_troops{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}fre_conflict {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0481483{col 35}{space 2} .0087439{col 46}{space 1}    5.51{col 55}{space 3}0.000{col 63}{space 4} .0308682{col 76}{space 3} .0654283
{txt}{space 21} {c |}
{space 12}KOFPoGIdj {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0676417{col 35}{space 2} .0114807{col 46}{space 1}    5.89{col 55}{space 3}0.000{col 63}{space 4} .0449532{col 76}{space 3} .0903302
{txt}{space 21} {c |}
{space 9}vdem_liberal {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} 2.281249{col 35}{space 2} 1.061991{col 46}{space 1}    2.15{col 55}{space 3}0.033{col 63}{space 4} .1825059{col 76}{space 3} 4.379992
{txt}{space 21} {c |}
{space 11}wdi_expmil {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0190487{col 35}{space 2}  .026758{col 46}{space 1}   -0.71{col 55}{space 3}0.478{col 63}{space 4}-.0719287{col 76}{space 3} .0338314
{txt}{space 21} {c |}
{space 13}wdi_afpt {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-9.43e-07{col 35}{space 2} 1.03e-06{col 46}{space 1}   -0.91{col 55}{space 3}0.364{col 63}{space 4}-2.99e-06{col 76}{space 3} 1.10e-06
{txt}{space 21} {c |}
{space 12}wdi_gdpgr {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0032244{col 35}{space 2} .0079745{col 46}{space 1}    0.40{col 55}{space 3}0.687{col 63}{space 4}-.0125351{col 76}{space 3} .0189839
{txt}{space 21} {c |}
{space 12}wdi_trade {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0037186{col 35}{space 2} .0033939{col 46}{space 1}    1.10{col 55}{space 3}0.275{col 63}{space 4}-.0029884{col 76}{space 3} .0104257
{txt}{space 21} {c |}
{space 5}wdi_gdpcappppcur {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0000594{col 35}{space 2}  .000014{col 46}{space 1}   -4.25{col 55}{space 3}0.000{col 63}{space 4}-.0000871{col 76}{space 3}-.0000318
{txt}{space 21} {c |}
{space 9}ucdp_type3_4 {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.2544759{col 35}{space 2} .1306752{col 46}{space 1}   -1.95{col 55}{space 3}0.053{col 63}{space 4}-.5127205{col 76}{space 3} .0037687
{txt}{space 21} {c |}
{space 7}ucdp_type2_new {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.5792856{col 35}{space 2} .4255189{col 46}{space 1}   -1.36{col 55}{space 3}0.175{col 63}{space 4} -1.42021{col 76}{space 3}  .261639
{txt}{space 21} {c |}
peacekeeinglast10_y_n {c |}{col 23}{res}{space 2} .1798662{col 35}{space 2} .4842111{col 46}{space 1}    0.37{col 55}{space 3}0.711{col 63}{space 4}-.7770478{col 76}{space 3}  1.13678
{txt}{space 16}_cons {c |}{col 23}{res}{space 2}-4.552788{col 35}{space 2} 1.066719{col 46}{space 1}   -4.27{col 55}{space 3}0.000{col 63}{space 4}-6.660873{col 76}{space 3}-2.444703
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
              sigma_u {c |} {res} 2.2887803
              {txt}sigma_e {c |} {res} 1.8476835
                  {txt}rho {c |} {res} .60543727{txt}   (fraction of variance due to u_i)
{hline 22}{c BT}{hline 64}

{com}. vif, uncentered

{txt}    Variable {c |}       VIF       1/VIF  
{hline 13}{c +}{hline 22}
{space 3}KOFPoGIdj {c |}
{space 9}L1. {c |} {res}    19.39    0.051581
{txt}fre_conflict {c |}
{space 9}L1. {c |} {res}    15.58    0.064191
{txt}vdem_liberal {c |}
{space 9}L1. {c |} {res}    12.07    0.082834
{txt}{space 3}wdi_trade {c |}
{space 9}L1. {c |} {res}     4.38    0.228162
{txt}wdi_gdpcap~r {c |}
{space 9}L1. {c |} {res}     2.61    0.383111
{txt}{space 2}wdi_expmil {c |}
{space 9}L1. {c |} {res}     1.82    0.548832
{txt}{space 3}wdi_gdpgr {c |}
{space 9}L1. {c |} {res}     1.55    0.644127
{txt}{space 4}wdi_afpt {c |}
{space 9}L1. {c |} {res}     1.42    0.703602
{txt}ucdp_type3_4 {c |}
{space 9}L1. {c |} {res}     1.35    0.741656
{txt}ucdp_type2~w {c |}
{space 9}L1. {c |} {res}     1.08    0.922004
{txt}peacekeein~n {c |} {res}     1.04    0.958534
{txt}{hline 13}{c +}{hline 22}
    Mean VIF {c |} {res}     5.66
{txt}
{com}. estat ic

Akaike's information criterion and Bayesian information criterion

{txt}{hline 13}{c TT}{hline 63}
       Model {c |}        Obs  ll(null)  ll(model)      df         AIC        BIC
{hline 13}{c +}{hline 63}
{ralign 12:.}{col 14}{c |}{res}{col 16}     3,256{col 27}-6716.479{col 38}-6537.522{col 49}    11{col 58} 13097.04{col 69} 13164.01
{txt}{hline 13}{c BT}{hline 63}
{p 15 21 2}
Note: N=Obs used in calculating BIC; see {helpb bic_note:[R] BIC note}.
{p_end}

{com}. 
.   
. //Table 2
. //Model 5 zero inflated negative binomial model
. zinb max_troops  KOFPoGIdj vdem_liberal wdi_expmil wdi_afpt wdi_gdpgr ///
> wdi_trade wdi_gdpcappppcur ucdp_type3_4 ucdp_type2_new peacekeeinglast10_y_n ///
> if year>1989 & sample1==1, cluster(cow)  inflate(_cons) 

{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-15592.398}  
Iteration 1:{space 3}log pseudolikelihood = {res:-14325.848}  
Iteration 2:{space 3}log pseudolikelihood = {res:-14308.696}  
Iteration 3:{space 3}log pseudolikelihood = {res:-14308.546}  
Iteration 4:{space 3}log pseudolikelihood = {res:-14308.546}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-14308.546}  
Iteration 1:{space 3}log pseudolikelihood = {res:-14203.384}  
Iteration 2:{space 3}log pseudolikelihood = {res:-14169.319}  
Iteration 3:{space 3}log pseudolikelihood = {res:-14167.536}  
Iteration 4:{space 3}log pseudolikelihood = {res:-14167.525}  
Iteration 5:{space 3}log pseudolikelihood = {res:-14167.525}  
{res}
{txt}Zero-inflated negative binomial regression      Number of obs     = {res}     3,021
                                                {txt}Nonzero obs       = {res}     1,690
                                                {txt}Zero obs          = {res}     1,331

{txt}Inflation model      = {res}logit                    {txt}Wald chi2({res}10{txt})     = {res}     79.22
{txt}Log pseudolikelihood = {res}-14167.53                {txt}Prob > chi2       = {res}    0.0000

{txt}{ralign 87:(Std. Err. adjusted for {res:147} clusters in cow)}
{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}           max_troops{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      z{col 55}   P>|z|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}max_troops            {txt}{c |}
{space 12}KOFPoGIdj {c |}{col 23}{res}{space 2} .0158895{col 35}{space 2} .0069515{col 46}{space 1}    2.29{col 55}{space 3}0.022{col 63}{space 4} .0022648{col 76}{space 3} .0295143
{txt}{space 9}vdem_liberal {c |}{col 23}{res}{space 2}   .42247{col 35}{space 2} .6695399{col 46}{space 1}    0.63{col 55}{space 3}0.528{col 63}{space 4}-.8898042{col 76}{space 3} 1.734744
{txt}{space 11}wdi_expmil {c |}{col 23}{res}{space 2}  .028395{col 35}{space 2}  .101996{col 46}{space 1}    0.28{col 55}{space 3}0.781{col 63}{space 4}-.1715135{col 76}{space 3} .2283036
{txt}{space 13}wdi_afpt {c |}{col 23}{res}{space 2} 5.53e-07{col 35}{space 2} 2.80e-07{col 46}{space 1}    1.98{col 55}{space 3}0.048{col 63}{space 4} 4.94e-09{col 76}{space 3} 1.10e-06
{txt}{space 12}wdi_gdpgr {c |}{col 23}{res}{space 2} .0480067{col 35}{space 2} .0176526{col 46}{space 1}    2.72{col 55}{space 3}0.007{col 63}{space 4} .0134082{col 76}{space 3} .0826053
{txt}{space 12}wdi_trade {c |}{col 23}{res}{space 2}-.0062231{col 35}{space 2} .0020346{col 46}{space 1}   -3.06{col 55}{space 3}0.002{col 63}{space 4}-.0102108{col 76}{space 3}-.0022354
{txt}{space 5}wdi_gdpcappppcur {c |}{col 23}{res}{space 2}-.0000327{col 35}{space 2} 6.11e-06{col 46}{space 1}   -5.35{col 55}{space 3}0.000{col 63}{space 4}-.0000447{col 76}{space 3}-.0000207
{txt}{space 9}ucdp_type3_4 {c |}{col 23}{res}{space 2} .0928233{col 35}{space 2} .1829591{col 46}{space 1}    0.51{col 55}{space 3}0.612{col 63}{space 4}  -.26577{col 76}{space 3} .4514166
{txt}{space 7}ucdp_type2_new {c |}{col 23}{res}{space 2}-.1146246{col 35}{space 2} .2805391{col 46}{space 1}   -0.41{col 55}{space 3}0.683{col 63}{space 4} -.664471{col 76}{space 3} .4352219
{txt}peacekeeinglast10_y_n {c |}{col 23}{res}{space 2} .1245681{col 35}{space 2} .6689498{col 46}{space 1}    0.19{col 55}{space 3}0.852{col 63}{space 4}-1.186549{col 76}{space 3} 1.435686
{txt}{space 16}_cons {c |}{col 23}{res}{space 2} 5.445387{col 35}{space 2} .8216562{col 46}{space 1}    6.63{col 55}{space 3}0.000{col 63}{space 4} 3.834971{col 76}{space 3} 7.055804
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inflate               {txt}{c |}
{space 16}_cons {c |}{col 23}{res}{space 2}-.5310976{col 35}{space 2} .1585192{col 46}{space 1}   -3.35{col 55}{space 3}0.001{col 63}{space 4}-.8417896{col 76}{space 3}-.2204056
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 13}/lnalpha {c |}{col 23}{res}{space 2} 1.206925{col 35}{space 2} .1503496{col 46}{space 1}    8.03{col 55}{space 3}0.000{col 63}{space 4} .9122448{col 76}{space 3} 1.501604
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                alpha {c |}{col 23}{res}{space 2} 3.343187{col 35}{space 2} .5026467{col 63}{space 4} 2.489906{col 76}{space 3} 4.488885
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. //Model 6 population average model for bindary dependent variable 
. xtgee troop_dummy  KOFPoGIdj vdem_liberal wdi_expmil wdi_afpt wdi_gdpgr ///
> wdi_trade wdi_gdpcappppcur ucdp_type3_4 ucdp_type2_new peacekeeinglast10_y_n ///
> if year>1989 & sample1==1, family(binomial)link(logit) vce(robust)    

{txt}Iteration 1: tolerance = {res}.63902126
{txt}Iteration 2: tolerance = {res}.23827914
{txt}Iteration 3: tolerance = {res}.01289005
{txt}Iteration 4: tolerance = {res}.00162308
{txt}Iteration 5: tolerance = {res}.0003748
{txt}Iteration 6: tolerance = {res}.00015764
{txt}Iteration 7: tolerance = {res}.00007673
{txt}Iteration 8: tolerance = {res}.00004724
{txt}Iteration 9: tolerance = {res}.00002577
{txt}Iteration 10: tolerance = {res}.00001333
{txt}Iteration 11: tolerance = {res}6.735e-06
{txt}Iteration 12: tolerance = {res}3.356e-06
{txt}Iteration 13: tolerance = {res}1.658e-06
{txt}Iteration 14: tolerance = {res}8.156e-07

{txt}GEE population-averaged model                   Number of obs     = {res}     3,038
{txt}Group variable:                        {res}cow      {txt}Number of groups  = {res}       148
{txt}Link:                                {res}logit      {txt}Obs per group:
Family:                           {res}binomial                    {txt}min = {res}         3
{txt}Correlation:                  {res}exchangeable                    {txt}avg = {res}      20.5
                                                              {txt}max = {res}        25
                                                {txt}Wald chi2({res}10{txt})     =  {res}    65.45
{txt}Scale parameter:                 {res}        1      {txt}Prob > chi2       =     {res}0.0000

{txt}{ralign 87:(Std. Err. adjusted for clustering on cow)}
{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}          troop_dummy{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      z{col 55}   P>|z|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}KOFPoGIdj {c |}{col 23}{res}{space 2} .0577352{col 35}{space 2} .0102899{col 46}{space 1}    5.61{col 55}{space 3}0.000{col 63}{space 4} .0375673{col 76}{space 3}  .077903
{txt}{space 9}vdem_liberal {c |}{col 23}{res}{space 2} 1.954735{col 35}{space 2} .7332853{col 46}{space 1}    2.67{col 55}{space 3}0.008{col 63}{space 4} .5175218{col 76}{space 3} 3.391947
{txt}{space 11}wdi_expmil {c |}{col 23}{res}{space 2} -.305422{col 35}{space 2} .1365968{col 46}{space 1}   -2.24{col 55}{space 3}0.025{col 63}{space 4}-.5731467{col 76}{space 3}-.0376972
{txt}{space 13}wdi_afpt {c |}{col 23}{res}{space 2}-3.54e-07{col 35}{space 2} 2.31e-07{col 46}{space 1}   -1.53{col 55}{space 3}0.126{col 63}{space 4}-8.06e-07{col 76}{space 3} 9.91e-08
{txt}{space 12}wdi_gdpgr {c |}{col 23}{res}{space 2} .0090855{col 35}{space 2} .0114883{col 46}{space 1}    0.79{col 55}{space 3}0.429{col 63}{space 4}-.0134312{col 76}{space 3} .0316021
{txt}{space 12}wdi_trade {c |}{col 23}{res}{space 2}-.0029422{col 35}{space 2} .0026409{col 46}{space 1}   -1.11{col 55}{space 3}0.265{col 63}{space 4}-.0081181{col 76}{space 3} .0022338
{txt}{space 5}wdi_gdpcappppcur {c |}{col 23}{res}{space 2}-.0000206{col 35}{space 2} .0000146{col 46}{space 1}   -1.41{col 55}{space 3}0.158{col 63}{space 4}-.0000492{col 76}{space 3} 8.00e-06
{txt}{space 9}ucdp_type3_4 {c |}{col 23}{res}{space 2}-.1464884{col 35}{space 2} .1232542{col 46}{space 1}   -1.19{col 55}{space 3}0.235{col 63}{space 4}-.3880622{col 76}{space 3} .0950853
{txt}{space 7}ucdp_type2_new {c |}{col 23}{res}{space 2} .3148383{col 35}{space 2} .1875246{col 46}{space 1}    1.68{col 55}{space 3}0.093{col 63}{space 4}-.0527032{col 76}{space 3} .6823799
{txt}peacekeeinglast10_y_n {c |}{col 23}{res}{space 2} .6135118{col 35}{space 2} .3407998{col 46}{space 1}    1.80{col 55}{space 3}0.072{col 63}{space 4}-.0544436{col 76}{space 3} 1.281467
{txt}{space 16}_cons {c |}{col 23}{res}{space 2}-4.254633{col 35}{space 2}  .775974{col 46}{space 1}   -5.48{col 55}{space 3}0.000{col 63}{space 4}-5.775514{col 76}{space 3}-2.733752
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. 
.  
.   
. //Appendix Table 1  
. 
. //Replicates Model 6 by excluding highly embaded states only below 75  & liberal democracy below .75 in vdem & excludes six high contributing countries
. //Model 1
. xtreg  lnmaxUN_troops  L.KOFPoGIdj L.vdem_liberal L.wdi_expmil L.wdi_afpt L.wdi_gdpgr ///
>   L.wdi_trade L.wdi_gdpcappppcur L.ucdp_type3_4 L.ucdp_type2_new peacekeeinglast10_y_n ///
>   if year>1989 & sample1==1 & KOFPoGIdj<75 , fe cluster(cow)  
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     1,647
{txt}Group variable: {res}cow{txt}{col 49}Number of groups{col 67}={col 69}{res}       126

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0534{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0066{col 63}{txt}avg{col 67}={col 69}{res}      13.1
{txt}     overall = {res}0.0261{col 63}{txt}max{col 67}={col 69}{res}        25

{txt}{col 49}F({res}10{txt},{res}125{txt}){col 67}={col 70}{res}     3.76
{txt}corr(u_i, Xb){col 16}= {res}-0.2393{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0002

{txt}{ralign 87:(Std. Err. adjusted for {res:126} clusters in cow)}
{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}       lnmaxUN_troops{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}KOFPoGIdj {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0305123{col 35}{space 2}  .012931{col 46}{space 1}    2.36{col 55}{space 3}0.020{col 63}{space 4} .0049202{col 76}{space 3} .0561044
{txt}{space 21} {c |}
{space 9}vdem_liberal {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} 2.268815{col 35}{space 2} 1.291397{col 46}{space 1}    1.76{col 55}{space 3}0.081{col 63}{space 4}-.2870197{col 76}{space 3} 4.824649
{txt}{space 21} {c |}
{space 11}wdi_expmil {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0051895{col 35}{space 2} .0147152{col 46}{space 1}   -0.35{col 55}{space 3}0.725{col 63}{space 4}-.0343127{col 76}{space 3} .0239337
{txt}{space 21} {c |}
{space 13}wdi_afpt {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-1.50e-06{col 35}{space 2} 1.19e-06{col 46}{space 1}   -1.26{col 55}{space 3}0.209{col 63}{space 4}-3.84e-06{col 76}{space 3} 8.48e-07
{txt}{space 21} {c |}
{space 12}wdi_gdpgr {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0022317{col 35}{space 2}  .006847{col 46}{space 1}    0.33{col 55}{space 3}0.745{col 63}{space 4}-.0113194{col 76}{space 3} .0157828
{txt}{space 21} {c |}
{space 12}wdi_trade {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}  .001367{col 35}{space 2} .0024846{col 46}{space 1}    0.55{col 55}{space 3}0.583{col 63}{space 4}-.0035503{col 76}{space 3} .0062843
{txt}{space 21} {c |}
{space 5}wdi_gdpcappppcur {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0000483{col 35}{space 2} .0000137{col 46}{space 1}   -3.53{col 55}{space 3}0.001{col 63}{space 4}-.0000754{col 76}{space 3}-.0000212
{txt}{space 21} {c |}
{space 9}ucdp_type3_4 {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.3001519{col 35}{space 2} .1883599{col 46}{space 1}   -1.59{col 55}{space 3}0.114{col 63}{space 4}-.6729394{col 76}{space 3} .0726357
{txt}{space 21} {c |}
{space 7}ucdp_type2_new {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} -.436521{col 35}{space 2} .5553629{col 46}{space 1}   -0.79{col 55}{space 3}0.433{col 63}{space 4}-1.535653{col 76}{space 3}  .662611
{txt}{space 21} {c |}
peacekeeinglast10_y_n {c |}{col 23}{res}{space 2}   .67056{col 35}{space 2} .4669339{col 46}{space 1}    1.44{col 55}{space 3}0.153{col 63}{space 4}-.2535601{col 76}{space 3}  1.59468
{txt}{space 16}_cons {c |}{col 23}{res}{space 2}-.8067764{col 35}{space 2} .7420332{col 46}{space 1}   -1.09{col 55}{space 3}0.279{col 63}{space 4}-2.275352{col 76}{space 3} .6617994
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
              sigma_u {c |} {res} 2.4335384
              {txt}sigma_e {c |} {res} 1.6983358
                  {txt}rho {c |} {res} .67247379{txt}   (fraction of variance due to u_i)
{hline 22}{c BT}{hline 64}

{com}. vif, uncentered

{txt}    Variable {c |}       VIF       1/VIF  
{hline 13}{c +}{hline 22}
{space 3}KOFPoGIdj {c |}
{space 9}L1. {c |} {res}     8.92    0.112111
{txt}vdem_liberal {c |}
{space 9}L1. {c |} {res}     6.64    0.150615
{txt}{space 3}wdi_trade {c |}
{space 9}L1. {c |} {res}     3.87    0.258635
{txt}wdi_gdpcap~r {c |}
{space 9}L1. {c |} {res}     1.67    0.599589
{txt}{space 2}wdi_expmil {c |}
{space 9}L1. {c |} {res}     1.56    0.643016
{txt}{space 3}wdi_gdpgr {c |}
{space 9}L1. {c |} {res}     1.51    0.661074
{txt}ucdp_type3_4 {c |}
{space 9}L1. {c |} {res}     1.32    0.756113
{txt}{space 4}wdi_afpt {c |}
{space 9}L1. {c |} {res}     1.22    0.818332
{txt}ucdp_type2~w {c |}
{space 9}L1. {c |} {res}     1.07    0.934517
{txt}peacekeein~n {c |} {res}     1.06    0.945022
{txt}{hline 13}{c +}{hline 22}
    Mean VIF {c |} {res}     2.88
{txt}
{com}. estat ic

Akaike's information criterion and Bayesian information criterion

{txt}{hline 13}{c TT}{hline 63}
       Model {c |}        Obs  ll(null)  ll(model)      df         AIC        BIC
{hline 13}{c +}{hline 63}
{ralign 12:.}{col 14}{c |}{res}{col 16}     1,647{col 27}-3183.559{col 38}-3138.351{col 49}    10{col 58} 6296.702{col 69} 6350.769
{txt}{hline 13}{c BT}{hline 63}
{p 15 21 2}
Note: N=Obs used in calculating BIC; see {helpb bic_note:[R] BIC note}.
{p_end}

{com}. 
. //Model 2
. xtreg  lnmaxUN_troops  L.KOFPoGIdj L.vdem_liberal L.wdi_expmil L.wdi_afpt L.wdi_gdpgr ///
>   L.wdi_trade L.wdi_gdpcappppcur L.ucdp_type3_4 L.ucdp_type2_new peacekeeinglast10_y_n ///
>   if year>1989 & sample1==1 & vdem_liberal<.75 , fe cluster(cow)  
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     1,997
{txt}Group variable: {res}cow{txt}{col 49}Number of groups{col 67}={col 69}{res}       108

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1079{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0068{col 63}{txt}avg{col 67}={col 69}{res}      18.5
{txt}     overall = {res}0.0208{col 63}{txt}max{col 67}={col 69}{res}        26

{txt}{col 49}F({res}10{txt},{res}107{txt}){col 67}={col 70}{res}     5.01
{txt}corr(u_i, Xb){col 16}= {res}-0.3707{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 87:(Std. Err. adjusted for {res:108} clusters in cow)}
{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}       lnmaxUN_troops{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}KOFPoGIdj {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0531369{col 35}{space 2}   .01315{col 46}{space 1}    4.04{col 55}{space 3}0.000{col 63}{space 4} .0270685{col 76}{space 3} .0792053
{txt}{space 21} {c |}
{space 9}vdem_liberal {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} 2.462849{col 35}{space 2} 1.101416{col 46}{space 1}    2.24{col 55}{space 3}0.027{col 63}{space 4} .2794209{col 76}{space 3} 4.646278
{txt}{space 21} {c |}
{space 11}wdi_expmil {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0076087{col 35}{space 2} .0207948{col 46}{space 1}   -0.37{col 55}{space 3}0.715{col 63}{space 4} -.048832{col 76}{space 3} .0336146
{txt}{space 21} {c |}
{space 13}wdi_afpt {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-2.25e-06{col 35}{space 2} 1.11e-06{col 46}{space 1}   -2.03{col 55}{space 3}0.044{col 63}{space 4}-4.44e-06{col 76}{space 3}-5.81e-08
{txt}{space 21} {c |}
{space 12}wdi_gdpgr {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0048384{col 35}{space 2} .0082113{col 46}{space 1}   -0.59{col 55}{space 3}0.557{col 63}{space 4}-.0211163{col 76}{space 3} .0114394
{txt}{space 21} {c |}
{space 12}wdi_trade {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0040216{col 35}{space 2} .0037789{col 46}{space 1}    1.06{col 55}{space 3}0.290{col 63}{space 4}-.0034696{col 76}{space 3} .0115127
{txt}{space 21} {c |}
{space 5}wdi_gdpcappppcur {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0000285{col 35}{space 2} .0000254{col 46}{space 1}   -1.12{col 55}{space 3}0.264{col 63}{space 4}-.0000789{col 76}{space 3} .0000218
{txt}{space 21} {c |}
{space 9}ucdp_type3_4 {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} -.289824{col 35}{space 2} .1576749{col 46}{space 1}   -1.84{col 55}{space 3}0.069{col 63}{space 4} -.602396{col 76}{space 3} .0227481
{txt}{space 21} {c |}
{space 7}ucdp_type2_new {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.9726515{col 35}{space 2} .5632647{col 46}{space 1}   -1.73{col 55}{space 3}0.087{col 63}{space 4}-2.089258{col 76}{space 3}  .143955
{txt}{space 21} {c |}
peacekeeinglast10_y_n {c |}{col 23}{res}{space 2} .3656468{col 35}{space 2} .5532579{col 46}{space 1}    0.66{col 55}{space 3}0.510{col 63}{space 4}-.7311224{col 76}{space 3} 1.462416
{txt}{space 16}_cons {c |}{col 23}{res}{space 2}-1.900372{col 35}{space 2} .8244602{col 46}{space 1}   -2.30{col 55}{space 3}0.023{col 63}{space 4}-3.534768{col 76}{space 3}-.2659758
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
              sigma_u {c |} {res} 2.7434129
              {txt}sigma_e {c |} {res}  1.872126
                  {txt}rho {c |} {res} .68227707{txt}   (fraction of variance due to u_i)
{hline 22}{c BT}{hline 64}

{com}. vif, uncentered

{txt}    Variable {c |}       VIF       1/VIF  
{hline 13}{c +}{hline 22}
{space 3}KOFPoGIdj {c |}
{space 9}L1. {c |} {res}    10.37    0.096415
{txt}vdem_liberal {c |}
{space 9}L1. {c |} {res}     8.27    0.120910
{txt}{space 3}wdi_trade {c |}
{space 9}L1. {c |} {res}     3.79    0.263817
{txt}wdi_gdpcap~r {c |}
{space 9}L1. {c |} {res}     1.64    0.611317
{txt}{space 2}wdi_expmil {c |}
{space 9}L1. {c |} {res}     1.60    0.626921
{txt}{space 3}wdi_gdpgr {c |}
{space 9}L1. {c |} {res}     1.54    0.647607
{txt}ucdp_type3_4 {c |}
{space 9}L1. {c |} {res}     1.41    0.710896
{txt}{space 4}wdi_afpt {c |}
{space 9}L1. {c |} {res}     1.38    0.722761
{txt}ucdp_type2~w {c |}
{space 9}L1. {c |} {res}     1.07    0.936141
{txt}peacekeein~n {c |} {res}     1.06    0.946704
{txt}{hline 13}{c +}{hline 22}
    Mean VIF {c |} {res}     3.21
{txt}
{com}. estat ic

Akaike's information criterion and Bayesian information criterion

{txt}{hline 13}{c TT}{hline 63}
       Model {c |}        Obs  ll(null)  ll(model)      df         AIC        BIC
{hline 13}{c +}{hline 63}
{ralign 12:.}{col 14}{c |}{res}{col 16}     1,997{col 27}-4139.109{col 38}-4025.073{col 49}    10{col 58} 8070.147{col 69} 8126.141
{txt}{hline 13}{c BT}{hline 63}
{p 15 21 2}
Note: N=Obs used in calculating BIC; see {helpb bic_note:[R] BIC note}.
{p_end}

{com}. 
. //Model 3
. xtreg  lnmaxUN_troops  L.KOFPoGIdj L.vdem_liberal L.wdi_expmil L.wdi_afpt L.wdi_gdpgr ///
>   L.wdi_trade L.wdi_gdpcappppcur L.ucdp_type3_4 L.ucdp_type2_new peacekeeinglast10_y_n ///
>   if year>1989 & sample1==1 & sample1==1 & cname!="Pakistan (1971-)" & cname!="Nepal" & ///
>   cname!="India" & cname!="Bangladesh" & cname!="Nigeria" & cname!="Ethiopia (1993-)", fe cluster(cow) 
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     3,121
{txt}Group variable: {res}cow{txt}{col 49}Number of groups{col 67}={col 69}{res}       142

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0843{col 63}{txt}min{col 67}={col 69}{res}         4
{txt}     between = {res}0.0958{col 63}{txt}avg{col 67}={col 69}{res}      22.0
{txt}     overall = {res}0.0774{col 63}{txt}max{col 67}={col 69}{res}        26

{txt}{col 49}F({res}10{txt},{res}141{txt}){col 67}={col 70}{res}     5.24
{txt}corr(u_i, Xb){col 16}= {res}-0.2289{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 87:(Std. Err. adjusted for {res:142} clusters in cow)}
{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}       lnmaxUN_troops{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}KOFPoGIdj {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0545056{col 35}{space 2} .0110889{col 46}{space 1}    4.92{col 55}{space 3}0.000{col 63}{space 4} .0325837{col 76}{space 3} .0764276
{txt}{space 21} {c |}
{space 9}vdem_liberal {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} 1.976774{col 35}{space 2} 1.069139{col 46}{space 1}    1.85{col 55}{space 3}0.067{col 63}{space 4} -.136841{col 76}{space 3} 4.090389
{txt}{space 21} {c |}
{space 11}wdi_expmil {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0142811{col 35}{space 2} .0246572{col 46}{space 1}   -0.58{col 55}{space 3}0.563{col 63}{space 4}-.0630267{col 76}{space 3} .0344646
{txt}{space 21} {c |}
{space 13}wdi_afpt {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-1.85e-06{col 35}{space 2} 1.45e-06{col 46}{space 1}   -1.28{col 55}{space 3}0.204{col 63}{space 4}-4.71e-06{col 76}{space 3} 1.01e-06
{txt}{space 21} {c |}
{space 12}wdi_gdpgr {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0035851{col 35}{space 2} .0080311{col 46}{space 1}   -0.45{col 55}{space 3}0.656{col 63}{space 4} -.019462{col 76}{space 3} .0122918
{txt}{space 21} {c |}
{space 12}wdi_trade {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0027714{col 35}{space 2} .0033808{col 46}{space 1}    0.82{col 55}{space 3}0.414{col 63}{space 4}-.0039122{col 76}{space 3} .0094549
{txt}{space 21} {c |}
{space 5}wdi_gdpcappppcur {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0000583{col 35}{space 2} .0000141{col 46}{space 1}   -4.13{col 55}{space 3}0.000{col 63}{space 4}-.0000861{col 76}{space 3}-.0000304
{txt}{space 21} {c |}
{space 9}ucdp_type3_4 {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.3031568{col 35}{space 2} .1427798{col 46}{space 1}   -2.12{col 55}{space 3}0.035{col 63}{space 4}-.5854228{col 76}{space 3}-.0208909
{txt}{space 21} {c |}
{space 7}ucdp_type2_new {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .4580105{col 35}{space 2} .5112179{col 46}{space 1}    0.90{col 55}{space 3}0.372{col 63}{space 4}-.5526323{col 76}{space 3} 1.468653
{txt}{space 21} {c |}
peacekeeinglast10_y_n {c |}{col 23}{res}{space 2} .5006904{col 35}{space 2} .5422117{col 46}{space 1}    0.92{col 55}{space 3}0.357{col 63}{space 4}-.5712249{col 76}{space 3} 1.572606
{txt}{space 16}_cons {c |}{col 23}{res}{space 2}-1.603052{col 35}{space 2} .8840096{col 46}{space 1}   -1.81{col 55}{space 3}0.072{col 63}{space 4}-3.350679{col 76}{space 3}  .144574
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
              sigma_u {c |} {res} 2.2145592
              {txt}sigma_e {c |} {res}  1.880454
                  {txt}rho {c |} {res}  .5810488{txt}   (fraction of variance due to u_i)
{hline 22}{c BT}{hline 64}

{com}. vif, uncentered

{txt}    Variable {c |}       VIF       1/VIF  
{hline 13}{c +}{hline 22}
{space 3}KOFPoGIdj {c |}
{space 9}L1. {c |} {res}    14.47    0.069096
{txt}vdem_liberal {c |}
{space 9}L1. {c |} {res}    11.32    0.088341
{txt}{space 3}wdi_trade {c |}
{space 9}L1. {c |} {res}     3.87    0.258312
{txt}wdi_gdpcap~r {c |}
{space 9}L1. {c |} {res}     2.34    0.428161
{txt}{space 2}wdi_expmil {c |}
{space 9}L1. {c |} {res}     1.59    0.628138
{txt}{space 3}wdi_gdpgr {c |}
{space 9}L1. {c |} {res}     1.52    0.658267
{txt}{space 4}wdi_afpt {c |}
{space 9}L1. {c |} {res}     1.36    0.736844
{txt}ucdp_type3_4 {c |}
{space 9}L1. {c |} {res}     1.32    0.757281
{txt}peacekeein~n {c |} {res}     1.04    0.959419
{txt}ucdp_type2~w {c |}
{space 9}L1. {c |} {res}     1.03    0.973271
{txt}{hline 13}{c +}{hline 22}
    Mean VIF {c |} {res}     3.99
{txt}
{com}. estat ic

Akaike's information criterion and Bayesian information criterion

{txt}{hline 13}{c TT}{hline 63}
       Model {c |}        Obs  ll(null)  ll(model)      df         AIC        BIC
{hline 13}{c +}{hline 63}
{ralign 12:.}{col 14}{c |}{res}{col 16}     3,121{col 27}-6458.943{col 38}-6321.547{col 49}    10{col 58} 12663.09{col 69} 12723.55
{txt}{hline 13}{c BT}{hline 63}
{p 15 21 2}
Note: N=Obs used in calculating BIC; see {helpb bic_note:[R] BIC note}.
{p_end}

{com}. 
. 
. //Appendix Table 2: All peacekeeping contribution 
. //Model 4
. xtreg  ln_max_total_peacekeeper  L.KOFPoGIdj L.vdem_liberal L.wdi_expmil L.wdi_afpt L.wdi_gdpgr ///
>   L.wdi_trade L.wdi_gdpcappppcur L.ucdp_type3_4 L.ucdp_type2_new peacekeeinglast10_y_n ///
>   if year>1989 & sample1==1, fe cluster(cow)  
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     3,256
{txt}Group variable: {res}cow{txt}{col 49}Number of groups{col 67}={col 69}{res}       148

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.2051{col 63}{txt}min{col 67}={col 69}{res}         4
{txt}     between = {res}0.1928{col 63}{txt}avg{col 67}={col 69}{res}      22.0
{txt}     overall = {res}0.1817{col 63}{txt}max{col 67}={col 69}{res}        26

{txt}{col 49}F({res}10{txt},{res}147{txt}){col 67}={col 70}{res}    10.34
{txt}corr(u_i, Xb){col 16}= {res}-0.1284{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 87:(Std. Err. adjusted for {res:148} clusters in cow)}
{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}ln_max_total_peacek~r{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}KOFPoGIdj {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0741558{col 35}{space 2} .0098248{col 46}{space 1}    7.55{col 55}{space 3}0.000{col 63}{space 4} .0547397{col 76}{space 3}  .093572
{txt}{space 21} {c |}
{space 9}vdem_liberal {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} 2.469138{col 35}{space 2} .9982692{col 46}{space 1}    2.47{col 55}{space 3}0.015{col 63}{space 4} .4963255{col 76}{space 3} 4.441951
{txt}{space 21} {c |}
{space 11}wdi_expmil {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0105339{col 35}{space 2} .0240086{col 46}{space 1}   -0.44{col 55}{space 3}0.661{col 63}{space 4}-.0579806{col 76}{space 3} .0369128
{txt}{space 21} {c |}
{space 13}wdi_afpt {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-1.18e-06{col 35}{space 2} 5.01e-07{col 46}{space 1}   -2.36{col 55}{space 3}0.020{col 63}{space 4}-2.17e-06{col 76}{space 3}-1.91e-07
{txt}{space 21} {c |}
{space 12}wdi_gdpgr {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0040773{col 35}{space 2} .0073853{col 46}{space 1}    0.55{col 55}{space 3}0.582{col 63}{space 4}-.0105178{col 76}{space 3} .0186724
{txt}{space 21} {c |}
{space 12}wdi_trade {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0026696{col 35}{space 2} .0030499{col 46}{space 1}    0.88{col 55}{space 3}0.383{col 63}{space 4}-.0033576{col 76}{space 3} .0086968
{txt}{space 21} {c |}
{space 5}wdi_gdpcappppcur {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0000727{col 35}{space 2} .0000103{col 46}{space 1}   -7.08{col 55}{space 3}0.000{col 63}{space 4}-.0000929{col 76}{space 3}-.0000524
{txt}{space 21} {c |}
{space 9}ucdp_type3_4 {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.1466963{col 35}{space 2} .1145669{col 46}{space 1}   -1.28{col 55}{space 3}0.202{col 63}{space 4}-.3731072{col 76}{space 3} .0797146
{txt}{space 21} {c |}
{space 7}ucdp_type2_new {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.3307661{col 35}{space 2} .3214982{col 46}{space 1}   -1.03{col 55}{space 3}0.305{col 63}{space 4}-.9661216{col 76}{space 3} .3045893
{txt}{space 21} {c |}
peacekeeinglast10_y_n {c |}{col 23}{res}{space 2}  .907684{col 35}{space 2}   .67934{col 46}{space 1}    1.34{col 55}{space 3}0.184{col 63}{space 4}-.4348504{col 76}{space 3} 2.250218
{txt}{space 16}_cons {c |}{col 23}{res}{space 2}-2.310804{col 35}{space 2} .7917281{col 46}{space 1}   -2.92{col 55}{space 3}0.004{col 63}{space 4}-3.875443{col 76}{space 3}-.7461643
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
              sigma_u {c |} {res} 2.2780286
              {txt}sigma_e {c |} {res} 1.4850063
                  {txt}rho {c |} {res} .70177881{txt}   (fraction of variance due to u_i)
{hline 22}{c BT}{hline 64}

{com}. vif, uncentered

{txt}    Variable {c |}       VIF       1/VIF  
{hline 13}{c +}{hline 22}
{space 3}KOFPoGIdj {c |}
{space 9}L1. {c |} {res}    14.30    0.069908
{txt}vdem_liberal {c |}
{space 9}L1. {c |} {res}    11.13    0.089818
{txt}{space 3}wdi_trade {c |}
{space 9}L1. {c |} {res}     3.87    0.258625
{txt}wdi_gdpcap~r {c |}
{space 9}L1. {c |} {res}     2.29    0.435812
{txt}{space 2}wdi_expmil {c |}
{space 9}L1. {c |} {res}     1.60    0.623954
{txt}{space 3}wdi_gdpgr {c |}
{space 9}L1. {c |} {res}     1.55    0.645474
{txt}{space 4}wdi_afpt {c |}
{space 9}L1. {c |} {res}     1.42    0.703896
{txt}ucdp_type3_4 {c |}
{space 9}L1. {c |} {res}     1.33    0.754430
{txt}ucdp_type2~w {c |}
{space 9}L1. {c |} {res}     1.08    0.922028
{txt}peacekeein~n {c |} {res}     1.04    0.960390
{txt}{hline 13}{c +}{hline 22}
    Mean VIF {c |} {res}     3.96
{txt}
{com}. estat ic

Akaike's information criterion and Bayesian information criterion

{txt}{hline 13}{c TT}{hline 63}
       Model {c |}        Obs  ll(null)  ll(model)      df         AIC        BIC
{hline 13}{c +}{hline 63}
{ralign 12:.}{col 14}{c |}{res}{col 16}     3,256{col 27}-6200.306{col 38}-5826.567{col 49}    10{col 58} 11673.13{col 69} 11734.02
{txt}{hline 13}{c BT}{hline 63}
{p 15 21 2}
Note: N=Obs used in calculating BIC; see {helpb bic_note:[R] BIC note}.
{p_end}

{com}. margins, at ( L.KOFPoGIdj=(0(5)100))
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     3,256
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 10}5}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}10}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}15}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:5._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}20}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:6._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}25}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:7._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}30}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:8._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}35}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:9._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}40}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:10._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}45}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:11._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}50}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:12._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}55}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:13._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}60}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:14._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}65}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:15._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}70}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:16._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}75}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:17._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}80}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:18._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}85}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:19._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}90}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:20._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 9}95}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:21._at}:{space 1}{res:{txt:L.KOFPoGIdj}{space 5}{txt:=} {space 8}100}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2}-1.687349{col 26}{space 2} .6969555{col 37}{space 1}   -2.42{col 46}{space 3}0.015{col 54}{space 4}-3.053357{col 67}{space 3}-.3213417
{txt}{space 10}2  {c |}{col 14}{res}{space 2} -1.31657{col 26}{space 2} .6478314{col 37}{space 1}   -2.03{col 46}{space 3}0.042{col 54}{space 4}-2.586296{col 67}{space 3} -.046844
{txt}{space 10}3  {c |}{col 14}{res}{space 2} -.945791{col 26}{space 2} .5987072{col 37}{space 1}   -1.58{col 46}{space 3}0.114{col 54}{space 4}-2.119236{col 67}{space 3} .2276536
{txt}{space 10}4  {c |}{col 14}{res}{space 2}-.5750118{col 26}{space 2} .5495831{col 37}{space 1}   -1.05{col 46}{space 3}0.295{col 54}{space 4}-1.652175{col 67}{space 3} .5021513
{txt}{space 10}5  {c |}{col 14}{res}{space 2}-.2042326{col 26}{space 2}  .500459{col 37}{space 1}   -0.41{col 46}{space 3}0.683{col 54}{space 4}-1.185114{col 67}{space 3} .7766489
{txt}{space 10}6  {c |}{col 14}{res}{space 2} .1665466{col 26}{space 2} .4513348{col 37}{space 1}    0.37{col 46}{space 3}0.712{col 54}{space 4}-.7180534{col 67}{space 3} 1.051147
{txt}{space 10}7  {c |}{col 14}{res}{space 2} .5373258{col 26}{space 2} .4022107{col 37}{space 1}    1.34{col 46}{space 3}0.182{col 54}{space 4}-.2509926{col 67}{space 3} 1.325644
{txt}{space 10}8  {c |}{col 14}{res}{space 2}  .908105{col 26}{space 2} .3530865{col 37}{space 1}    2.57{col 46}{space 3}0.010{col 54}{space 4} .2160681{col 67}{space 3} 1.600142
{txt}{space 10}9  {c |}{col 14}{res}{space 2} 1.278884{col 26}{space 2} .3039624{col 37}{space 1}    4.21{col 46}{space 3}0.000{col 54}{space 4} .6831289{col 67}{space 3}  1.87464
{txt}{space 9}10  {c |}{col 14}{res}{space 2} 1.649663{col 26}{space 2} .2548383{col 37}{space 1}    6.47{col 46}{space 3}0.000{col 54}{space 4}  1.15019{col 67}{space 3} 2.149137
{txt}{space 9}11  {c |}{col 14}{res}{space 2} 2.020443{col 26}{space 2} .2057141{col 37}{space 1}    9.82{col 46}{space 3}0.000{col 54}{space 4}  1.61725{col 67}{space 3} 2.423635
{txt}{space 9}12  {c |}{col 14}{res}{space 2} 2.391222{col 26}{space 2}   .15659{col 37}{space 1}   15.27{col 46}{space 3}0.000{col 54}{space 4} 2.084311{col 67}{space 3} 2.698133
{txt}{space 9}13  {c |}{col 14}{res}{space 2} 2.762001{col 26}{space 2} .1074658{col 37}{space 1}   25.70{col 46}{space 3}0.000{col 54}{space 4} 2.551372{col 67}{space 3}  2.97263
{txt}{space 9}14  {c |}{col 14}{res}{space 2}  3.13278{col 26}{space 2} .0583417{col 37}{space 1}   53.70{col 46}{space 3}0.000{col 54}{space 4} 3.018433{col 67}{space 3} 3.247128
{txt}{space 9}15  {c |}{col 14}{res}{space 2} 3.503559{col 26}{space 2} .0092176{col 37}{space 1}  380.10{col 46}{space 3}0.000{col 54}{space 4} 3.485493{col 67}{space 3} 3.521625
{txt}{space 9}16  {c |}{col 14}{res}{space 2} 3.874339{col 26}{space 2} .0399066{col 37}{space 1}   97.09{col 46}{space 3}0.000{col 54}{space 4} 3.796123{col 67}{space 3} 3.952554
{txt}{space 9}17  {c |}{col 14}{res}{space 2} 4.245118{col 26}{space 2} .0890307{col 37}{space 1}   47.68{col 46}{space 3}0.000{col 54}{space 4} 4.070621{col 67}{space 3} 4.419615
{txt}{space 9}18  {c |}{col 14}{res}{space 2} 4.615897{col 26}{space 2} .1381549{col 37}{space 1}   33.41{col 46}{space 3}0.000{col 54}{space 4} 4.345118{col 67}{space 3} 4.886676
{txt}{space 9}19  {c |}{col 14}{res}{space 2} 4.986676{col 26}{space 2}  .187279{col 37}{space 1}   26.63{col 46}{space 3}0.000{col 54}{space 4} 4.619616{col 67}{space 3} 5.353736
{txt}{space 9}20  {c |}{col 14}{res}{space 2} 5.357455{col 26}{space 2} .2364031{col 37}{space 1}   22.66{col 46}{space 3}0.000{col 54}{space 4} 4.894114{col 67}{space 3} 5.820797
{txt}{space 9}21  {c |}{col 14}{res}{space 2} 5.728235{col 26}{space 2} .2855273{col 37}{space 1}   20.06{col 46}{space 3}0.000{col 54}{space 4} 5.168611{col 67}{space 3} 6.287858
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: L.KOFPoGIdj{p_end}
{res}{txt}
{com}. 
. 
. //Table 3
. //Model 5
. xtnbreg  max_troops  L.KOFPoGIdj L.vdem_liberal L.wdi_expmil L.wdi_afpt L.wdi_gdpgr ///
>   L.wdi_trade L.wdi_gdpcappppcur L.ucdp_type3_4 L.ucdp_type2_new peacekeeinglast10_y_n ///
>   if year>1989 & sample1==1, fe 
{txt}note: 24 groups (428 obs) dropped because of all zero outcomes
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-333411.57}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-56165.909}  
Iteration 2:{space 3}log likelihood = {res:-29969.617}  (backed up)
Iteration 3:{space 3}log likelihood = {res:-18360.761}  
Iteration 4:{space 3}log likelihood = {res:-17993.269}  
Iteration 5:{space 3}log likelihood = {res:-13981.292}  
Iteration 6:{space 3}log likelihood = {res:-12932.126}  
Iteration 7:{space 3}log likelihood = {res:-12863.916}  
Iteration 8:{space 3}log likelihood = {res:-12861.172}  
Iteration 9:{space 3}log likelihood = {res:-12861.164}  
Iteration 10:{space 2}log likelihood = {res:-12861.164}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}     2,809
{txt}Group variable: {res}cow{col 49}{txt}Number of groups{col 67}={col 69}{res}       123

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         5
{txt}{col 63}avg{col 67}={col 69}{res}      22.8
{txt}{col 63}max{col 67}={col 69}{res}        26

{txt}{col 49}Wald chi2({res}10{txt}){col 67}={col 70}{res}   605.60
{txt}Log likelihood  = {res}-12861.164{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           max_troops{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      z{col 55}   P>|z|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}KOFPoGIdj {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0366004{col 35}{space 2}  .002276{col 46}{space 1}   16.08{col 55}{space 3}0.000{col 63}{space 4} .0321396{col 76}{space 3} .0410612
{txt}{space 21} {c |}
{space 9}vdem_liberal {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} 1.100779{col 35}{space 2} .1652931{col 46}{space 1}    6.66{col 55}{space 3}0.000{col 63}{space 4}   .77681{col 76}{space 3} 1.424747
{txt}{space 21} {c |}
{space 11}wdi_expmil {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.1270668{col 35}{space 2} .0256977{col 46}{space 1}   -4.94{col 55}{space 3}0.000{col 63}{space 4}-.1774333{col 76}{space 3}-.0767002
{txt}{space 21} {c |}
{space 13}wdi_afpt {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} 1.92e-07{col 35}{space 2} 5.44e-08{col 46}{space 1}    3.53{col 55}{space 3}0.000{col 63}{space 4} 8.56e-08{col 76}{space 3} 2.99e-07
{txt}{space 21} {c |}
{space 12}wdi_gdpgr {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0142302{col 35}{space 2} .0060367{col 46}{space 1}    2.36{col 55}{space 3}0.018{col 63}{space 4} .0023984{col 76}{space 3}  .026062
{txt}{space 21} {c |}
{space 12}wdi_trade {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0000203{col 35}{space 2} .0007286{col 46}{space 1}   -0.03{col 55}{space 3}0.978{col 63}{space 4}-.0014483{col 76}{space 3} .0014078
{txt}{space 21} {c |}
{space 5}wdi_gdpcappppcur {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} -.000018{col 35}{space 2} 2.74e-06{col 46}{space 1}   -6.57{col 55}{space 3}0.000{col 63}{space 4}-.0000233{col 76}{space 3}-.0000126
{txt}{space 21} {c |}
{space 9}ucdp_type3_4 {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.1777065{col 35}{space 2} .0621351{col 46}{space 1}   -2.86{col 55}{space 3}0.004{col 63}{space 4} -.299489{col 76}{space 3}-.0559241
{txt}{space 21} {c |}
{space 7}ucdp_type2_new {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .3567539{col 35}{space 2} .1561934{col 46}{space 1}    2.28{col 55}{space 3}0.022{col 63}{space 4} .0506205{col 76}{space 3} .6628874
{txt}{space 21} {c |}
peacekeeinglast10_y_n {c |}{col 23}{res}{space 2} .1185838{col 35}{space 2} .1812629{col 46}{space 1}    0.65{col 55}{space 3}0.513{col 63}{space 4} -.236685{col 76}{space 3} .4738526
{txt}{space 16}_cons {c |}{col 23}{res}{space 2}-4.477658{col 35}{space 2} .1921937{col 46}{space 1}  -23.30{col 55}{space 3}0.000{col 63}{space 4} -4.85435{col 76}{space 3}-4.100965
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.  vif, uncentered

{txt}    Variable {c |}       VIF       1/VIF  
{hline 13}{c +}{hline 22}
{space 3}KOFPoGIdj {c |}
{space 9}L1. {c |} {res}    16.03    0.062402
{txt}vdem_liberal {c |}
{space 9}L1. {c |} {res}    12.32    0.081194
{txt}{space 3}wdi_trade {c |}
{space 9}L1. {c |} {res}     3.94    0.254122
{txt}{space 2}wdi_expmil {c |}
{space 9}L1. {c |} {res}     2.75    0.363959
{txt}wdi_gdpcap~r {c |}
{space 9}L1. {c |} {res}     2.42    0.412785
{txt}{space 3}wdi_gdpgr {c |}
{space 9}L1. {c |} {res}     1.58    0.631051
{txt}{space 4}wdi_afpt {c |}
{space 9}L1. {c |} {res}     1.47    0.681190
{txt}ucdp_type3_4 {c |}
{space 9}L1. {c |} {res}     1.33    0.752793
{txt}ucdp_type2~w {c |}
{space 9}L1. {c |} {res}     1.08    0.925212
{txt}peacekeein~n {c |} {res}     1.04    0.962655
{txt}{hline 13}{c +}{hline 22}
    Mean VIF {c |} {res}     4.39
{txt}
{com}. estat ic

Akaike's information criterion and Bayesian information criterion

{txt}{hline 13}{c TT}{hline 63}
       Model {c |}        Obs  ll(null)  ll(model)      df         AIC        BIC
{hline 13}{c +}{hline 63}
{ralign 12:.}{col 14}{c |}{res}{col 16}     2,809{col 27}        .{col 38}-12861.16{col 49}    11{col 58} 25744.33{col 69} 25809.67
{txt}{hline 13}{c BT}{hline 63}
{p 15 21 2}
Note: N=Obs used in calculating BIC; see {helpb bic_note:[R] BIC note}.
{p_end}

{com}. 
. //Model 6
. xtnbreg  max_total_peacekeeper  L.KOFPoGIdj L.vdem_liberal L.wdi_expmil L.wdi_afpt L.wdi_gdpgr ///
>   L.wdi_trade L.wdi_gdpcappppcur L.ucdp_type3_4 L.ucdp_type2_new peacekeeinglast10_y_n ///
>   if year>1989 & sample1==1, fe   
{txt}note: 15 groups (243 obs) dropped because of all zero outcomes
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-300017.56}  (not concave)
Iteration 1:{space 3}log likelihood = {res: -62320.73}  
Iteration 2:{space 3}log likelihood = {res:-31941.299}  
Iteration 3:{space 3}log likelihood = {res:-23040.102}  
Iteration 4:{space 3}log likelihood = {res:-19772.579}  
Iteration 5:{space 3}log likelihood = {res:-17381.578}  
Iteration 6:{space 3}log likelihood = {res:-15470.284}  
Iteration 7:{space 3}log likelihood = {res:-15305.734}  
Iteration 8:{space 3}log likelihood = {res:-15300.452}  
Iteration 9:{space 3}log likelihood = {res:-15300.434}  
Iteration 10:{space 2}log likelihood = {res:-15300.434}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}     2,994
{txt}Group variable: {res}cow{col 49}{txt}Number of groups{col 67}={col 69}{res}       132

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         4
{txt}{col 63}avg{col 67}={col 69}{res}      22.7
{txt}{col 63}max{col 67}={col 69}{res}        26

{txt}{col 49}Wald chi2({res}10{txt}){col 67}={col 70}{res}  1138.39
{txt}Log likelihood  = {res}-15300.434{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}max_total_peacekeeper{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      z{col 55}   P>|z|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}KOFPoGIdj {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0485881{col 35}{space 2} .0020245{col 46}{space 1}   24.00{col 55}{space 3}0.000{col 63}{space 4} .0446202{col 76}{space 3} .0525561
{txt}{space 21} {c |}
{space 9}vdem_liberal {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} 1.236412{col 35}{space 2} .1426313{col 46}{space 1}    8.67{col 55}{space 3}0.000{col 63}{space 4} .9568594{col 76}{space 3} 1.515964
{txt}{space 21} {c |}
{space 11}wdi_expmil {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0646703{col 35}{space 2} .0206375{col 46}{space 1}   -3.13{col 55}{space 3}0.002{col 63}{space 4}-.1051191{col 76}{space 3}-.0242214
{txt}{space 21} {c |}
{space 13}wdi_afpt {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} 2.72e-07{col 35}{space 2} 5.11e-08{col 46}{space 1}    5.32{col 55}{space 3}0.000{col 63}{space 4} 1.72e-07{col 76}{space 3} 3.72e-07
{txt}{space 21} {c |}
{space 12}wdi_gdpgr {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0143982{col 35}{space 2}  .004769{col 46}{space 1}    3.02{col 55}{space 3}0.003{col 63}{space 4} .0050512{col 76}{space 3} .0237453
{txt}{space 21} {c |}
{space 12}wdi_trade {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0023145{col 35}{space 2} .0006254{col 46}{space 1}    3.70{col 55}{space 3}0.000{col 63}{space 4} .0010887{col 76}{space 3} .0035402
{txt}{space 21} {c |}
{space 5}wdi_gdpcappppcur {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0000308{col 35}{space 2} 2.61e-06{col 46}{space 1}  -11.83{col 55}{space 3}0.000{col 63}{space 4}-.0000359{col 76}{space 3}-.0000257
{txt}{space 21} {c |}
{space 9}ucdp_type3_4 {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0755078{col 35}{space 2}  .050024{col 46}{space 1}   -1.51{col 55}{space 3}0.131{col 63}{space 4} -.173553{col 76}{space 3} .0225375
{txt}{space 21} {c |}
{space 7}ucdp_type2_new {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0649305{col 35}{space 2} .1330756{col 46}{space 1}    0.49{col 55}{space 3}0.626{col 63}{space 4} -.195893{col 76}{space 3} .3257539
{txt}{space 21} {c |}
peacekeeinglast10_y_n {c |}{col 23}{res}{space 2} .4200344{col 35}{space 2} .1490373{col 46}{space 1}    2.82{col 55}{space 3}0.005{col 63}{space 4} .1279268{col 76}{space 3} .7121421
{txt}{space 16}_cons {c |}{col 23}{res}{space 2}-4.889846{col 35}{space 2} .1666489{col 46}{space 1}  -29.34{col 55}{space 3}0.000{col 63}{space 4}-5.216472{col 76}{space 3} -4.56322
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. vif, uncentered

{txt}    Variable {c |}       VIF       1/VIF  
{hline 13}{c +}{hline 22}
{space 3}KOFPoGIdj {c |}
{space 9}L1. {c |} {res}    15.44    0.064785
{txt}vdem_liberal {c |}
{space 9}L1. {c |} {res}    11.91    0.083967
{txt}{space 3}wdi_trade {c |}
{space 9}L1. {c |} {res}     4.00    0.249767
{txt}{space 2}wdi_expmil {c |}
{space 9}L1. {c |} {res}     2.55    0.392809
{txt}wdi_gdpcap~r {c |}
{space 9}L1. {c |} {res}     2.44    0.410034
{txt}{space 3}wdi_gdpgr {c |}
{space 9}L1. {c |} {res}     1.59    0.629723
{txt}{space 4}wdi_afpt {c |}
{space 9}L1. {c |} {res}     1.46    0.682985
{txt}ucdp_type3_4 {c |}
{space 9}L1. {c |} {res}     1.34    0.747948
{txt}ucdp_type2~w {c |}
{space 9}L1. {c |} {res}     1.08    0.928158
{txt}peacekeein~n {c |} {res}     1.04    0.962739
{txt}{hline 13}{c +}{hline 22}
    Mean VIF {c |} {res}     4.28
{txt}
{com}. estat ic

Akaike's information criterion and Bayesian information criterion

{txt}{hline 13}{c TT}{hline 63}
       Model {c |}        Obs  ll(null)  ll(model)      df         AIC        BIC
{hline 13}{c +}{hline 63}
{ralign 12:.}{col 14}{c |}{res}{col 16}     2,994{col 27}        .{col 38}-15300.43{col 49}    11{col 58} 30622.87{col 69} 30688.92
{txt}{hline 13}{c BT}{hline 63}
{p 15 21 2}
Note: N=Obs used in calculating BIC; see {helpb bic_note:[R] BIC note}.
{p_end}

{com}. 
. //Appandix Table 4 - Model 7
. reg  lnmaxUN_troops  L.KOFPoGIdj if year==1990  

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       142
{txt}{hline 13}{c +}{hline 34}   F(1, 140)       = {res}    44.74
{txt}       Model {c |} {res} 141.042979         1  141.042979   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 441.379292       140  3.15270923   {txt}R-squared       ={res}    0.2422
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.2368
{txt}       Total {c |} {res} 582.422271       141   4.1306544   {txt}Root MSE        =   {res} 1.7756

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}lnmaxUN_tr~s{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}KOFPoGIdj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .0549627{col 26}{space 2} .0082174{col 37}{space 1}    6.69{col 46}{space 3}0.000{col 54}{space 4} .0387165{col 67}{space 3}  .071209
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2}-1.338364{col 26}{space 2} .3943901{col 37}{space 1}   -3.39{col 46}{space 3}0.001{col 54}{space 4}-2.118094{col 67}{space 3}-.5586333
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. vif, uncentered

{txt}    Variable {c |}       VIF       1/VIF  
{hline 13}{c +}{hline 22}
{space 3}KOFPoGIdj {c |}
{space 9}L1. {c |} {res}     7.01    0.142739
{txt}{space 3}intercept {c |} {res}     7.01    0.142739
{txt}{hline 13}{c +}{hline 22}
    Mean VIF {c |} {res}     7.01
{txt}
{com}. estat ic

Akaike's information criterion and Bayesian information criterion

{txt}{hline 13}{c TT}{hline 63}
       Model {c |}        Obs  ll(null)  ll(model)      df         AIC        BIC
{hline 13}{c +}{hline 63}
{ralign 12:.}{col 14}{c |}{res}{col 16}       142{col 27}-301.6964{col 38}-282.0088{col 49}     2{col 58} 568.0176{col 69} 573.9292
{txt}{hline 13}{c BT}{hline 63}
{p 15 21 2}
Note: N=Obs used in calculating BIC; see {helpb bic_note:[R] BIC note}.
{p_end}

{com}. 
. //Descriptive Statistics Table 5
. sum lnmaxUN_troops L.lnaid_crsc L.fre_conflict L.KOFPoGIdj L.vdem_liberal L.wdi_expmil L.wdi_afpt ///
> L.wdi_gdpgr L.wdi_trade L.max_troops L.ln_max_total_peacekeeper L.max_total_peacekeeper L.wdi_gdpcappppcur  L.ucdp_type3_4 L.ucdp_type2_new peacekeeinglast10_y_n L.gd_ptsa if year>1989 & sample1==1 

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
lnmaxUN_tr~s {c |}{res}      3,256    2.810471    3.098288          0   9.231515
{txt}{space 12} {c |}
{space 2}lnaid_crsc {c |}
{space 9}L1. {c |}{res}      2,386    19.18848     1.97396   6.926577   23.92269
{txt}{space 12} {c |}
fre_conflict {c |}
{space 9}L1. {c |}{res}      3,256    38.06757    5.792392         30         51
{txt}{space 12} {c |}
{space 3}KOFPoGIdj {c |}
{space 9}L1. {c |}{res}      3,256    70.93819    18.34503   2.516895        100
{txt}{space 12} {c |}
vdem_liberal {c |}
{space 9}L1. {c |}{res}      3,256    .6385147    .2462896   .0422704   .9804188
{txt}{hline 13}{c +}{hline 57}
{space 12} {c |}
{space 2}wdi_expmil {c |}
{space 9}L1. {c |}{res}      3,256    2.366782    2.963574   .1226877    102.898
{txt}{space 12} {c |}
{space 4}wdi_afpt {c |}
{space 9}L1. {c |}{res}      3,256    184059.6      428593        130    4135000
{txt}{space 12} {c |}
{space 3}wdi_gdpgr {c |}
{space 9}L1. {c |}{res}      3,256    3.742627    5.112804  -50.24807   54.15777
{txt}{space 12} {c |}
{space 3}wdi_trade {c |}
{space 9}L1. {c |}{res}      3,256    79.34865    45.08383   .2738939   441.6038
{txt}{space 12} {c |}
{space 2}max_troops {c |}
{space 9}L1. {c |}{res}      3,236    470.3563    1230.786          0      10214
{txt}{hline 13}{c +}{hline 57}
{space 12} {c |}
ln_max_tot~r {c |}
{space 9}L1. {c |}{res}      3,256    3.458262    2.938483          0   9.317848
{txt}{space 12} {c |}
max_total_~r {c |}
{space 9}L1. {c |}{res}      3,236    545.6406    1354.181          0      11135
{txt}{space 12} {c |}
wdi_gdpcap~r {c |}
{space 9}L1. {c |}{res}      3,256    12724.13    14593.74   242.0012   122609.4
{txt}{space 12} {c |}
ucdp_type3_4 {c |}
{space 9}L1. {c |}{res}      3,256    .2060811    .4045515          0          1
{txt}{space 12} {c |}
ucdp_type2~w {c |}
{space 9}L1. {c |}{res}      3,256     .014742    .1205369          0          1
{txt}{hline 13}{c +}{hline 57}
{space 12} {c |}
peacekeein~n {c |}{res}      3,256    .0236486    .1519753          0          1
{txt}{space 12} {c |}
{space 5}gd_ptsa {c |}
{space 9}L1. {c |}{res}      2,796     2.62804     1.11858          1          5
{txt}
{com}. 
. 
. //Figure 1 
. clear
{txt}
{com}. //data file:Figure 1 Data.dta
. use "C:\Users\mjoshi2\Box\2020 Research\Peacekeeping\IP R&R\Edits\RR2\RR2Final\Data\Figure 1 Data.dta", clear
{txt}
{com}. line contributingcountries year, xlabel(none) xtitle("")
{res}{txt}
{com}. graph save Graph "C:\Users\mjoshi2\Box\2020 Research\Peacekeeping\IP R&R\Edits\RR2\RR2Final\Data\Figure 1.a", replace
{res}{txt}(file C:\Users\mjoshi2\Box\2020 Research\Peacekeeping\IP R&R\Edits\RR2\RR2Final\Data\Figure 1.a saved)

{com}. line numberofmissions year
{res}{txt}
{com}. graph save Graph "C:\Users\mjoshi2\Box\2020 Research\Peacekeeping\IP R&R\Edits\RR2\RR2Final\Data\Figure 1.b", replace
{res}{txt}(file C:\Users\mjoshi2\Box\2020 Research\Peacekeeping\IP R&R\Edits\RR2\RR2Final\Data\Figure 1.b saved)

{com}. graph combine "C:\Users\mjoshi2\Box\2020 Research\Peacekeeping\IP R&R\Edits\RR2\RR2Final\Data\Figure 1.a""C:\Users\mjoshi2\Box\2020 Research\Peacekeeping\IP R&R\Edits\RR2\RR2Final\Data\Figure 1.b", col(1)
{res}{txt}
{com}. 
. 
.  //Figure 2
.  
.  clear
{txt}
{com}.  //Data file: Figure 2 and Appendix map data.dta
.  use "C:\Users\mjoshi2\Box\2020 Research\Peacekeeping\IP R&R\Edits\RR2\RR2Final\Data\Figure 2 and Appendix map data.dta", replace
{txt}(Quality of Government Standard dataset 2018 - Time-Series)

{com}.  graph bar max_troops if max_troops>25000, over(country, sort(max_troops))
{res}{txt}
{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mjoshi2\Box\2020 Research\Peacekeeping\IP R&R\Edits\RR2\RR2Final\Data\log file.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}28 Jul 2020, 12:16:17
{txt}{.-}
{smcl}
{txt}{sf}{ul off}